package com.rzico.core.rider;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class RiderApiRequest {

    private String shopNo; //门店编号，门店创建后可在门店列表和单页查看(id+10200)
    private String shopPhone; //门店名称
    private String shopName; //门店名称
    private String shopAddress; //门店地址
    private Double shopLat; //门店位置
    private Double shopLng; //门店位置

    private String orderSn; //订单编号

    private String areaId; //订单所在城市的code

    @ApiModelProperty(value = "重量")
    private BigDecimal weight; //重量

    @ApiModelProperty(value = "地址")
    protected String address;

    @ApiModelProperty(value = "收货人")
    protected String consignee;

    @ApiModelProperty(value = "联系电话")
    protected String phone;

    @ApiModelProperty(value = "伟度")
    protected Double lat;

    @ApiModelProperty(value = "经度")
    protected Double lng;

    @ApiModelProperty(value = "订单总金额")
    private BigDecimal amountPayable; //订单总金额

    @ApiModelProperty(value = "取餐号/达达货架信息")
    private String num; //

    @ApiModelProperty(value = "订单总件数")
    private BigDecimal quantity; //订单总件数

    @ApiModelProperty(value = "商品信息")
    protected List<RiderApiProduct> productList;

   @ApiModelProperty(value = "预计送达时间")
   protected Date estimateDate;
}
